package com.glodon.paas.test.util;

import java.io.InputStream;
import java.util.List;

import com.glodon.paas.storage.BulkStorage;
import com.glodon.paas.storage.InitResult;
import com.glodon.paas.storage.Part;
import com.glodon.paas.storage.ReadResult;
import com.glodon.paas.storage.WriteResult;

/**
 * 类MockBulkStorage.java的实现描述：mock 存储平台 ， 用于UT 测试
 * 
 * @author wangchen 2013-2-17 上午10:48:10
 */
public class MockBulkStorage implements BulkStorage {

    @Override
    public WriteResult write(String key, InputStream object, long length) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ReadResult read(String key) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean isPartialReadSupported() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public ReadResult read(String key, long start, long end) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void delete(String key) {
        // TODO Auto-generated method stub

    }

    @Override
    public boolean isMultiPartUploadSupported() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public InitResult initMultiPartUpload(String key) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public WriteResult uploadPart(InitResult handle, Part part, InputStream is) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public WriteResult completeMultiPartUpload(InitResult handle, List<Part> parts) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void abortMultiPartUpload(InitResult handle) {
        // TODO Auto-generated method stub

    }

}
